package com.pinecone.service;

import com.pinecone.entity.LiveRoomViewCodeEntity;

import java.util.List;
import java.util.Map;

/**
 * 直播间观看码
 * 
 * @author hushangjie
 * @email 979783618@qq.com
 * @date 2017-10-24 11:52:29
 */
public interface LiveRoomViewCodeService {
	
	LiveRoomViewCodeEntity queryObject(Integer liveRoomCodeId);

	LiveRoomViewCodeEntity queryByRoomId(String liveRoomId);

	List<LiveRoomViewCodeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(LiveRoomViewCodeEntity liveRoomViewCode);
	
	void update(LiveRoomViewCodeEntity liveRoomViewCode);
	
	void delete(Integer liveRoomCodeId);
	
	void deleteBatch(Integer[] liveRoomCodeIds);
}
